home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / Exec / interrupts.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  1KB  |  67 lines

  1. #ifndef EXEC_INTERRUPTS_H
  2. #define EXEC_INTERRUPTS_H 1
  3. /*
  4. ** interrupts.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/02/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for interrupts.h
  17. */
  18. #ifndef IntVectorPtr
  19. #define IntVectorPtr ADDRESS
  20. #endif
  21. #ifndef InterruptPtr
  22. #define InterruptPtr ADDRESS
  23. #endif
  24. #ifndef SoftIntListPtr
  25. #define SoftIntListPtr ADDRESS
  26. #endif
  27. /*
  28. ** End of StructPointer defines for interrupts.h
  29. */
  30.         
  31. #ifndef EXEC_NODES_H
  32. #include <exec/nodes.h>
  33. #endif /* EXEC_NODES_H */
  34.  
  35. #ifndef EXEC_LISTS_H
  36. #include <exec/lists.h>
  37. #endif /* EXEC_LISTS_H */
  38.  
  39.  
  40.  
  41. STRUCT Interrupt  
  42.     Node is_Node 
  43.     ADDRESS    is_Data             /* server data segment  */
  44.     ADDRESS   is_Code        /* server code entry    */
  45. END STRUCT 
  46.  
  47.  
  48. STRUCT IntVector        /* For EXEC use ONLY! */
  49.     ADDRESS    iv_Data 
  50.     ADDRESS   iv_Code
  51.     NodePtr  iv_Node 
  52. END STRUCT 
  53.  
  54.  
  55. STRUCT SoftIntList          /* For EXEC use ONLY! */
  56.     _List sh_List 
  57.     SHORTINT  sh_Pad 
  58. END STRUCT 
  59.  
  60. #define SIH_PRIMASK (&Hf0)
  61.  
  62. /* this is a fake LONGINT definition,  used only for AddIntServer and the like */
  63. #define INTB_NMI    15
  64. #define INTF_NMI    (32768)
  65.  
  66. #endif  /* EXEC_INTERRUPTS_H */
  67.